package com.he.service;

import org.springframework.stereotype.Service;

@Service
public class AuthService {
    
    public boolean authenticate(String username, String password) {
        // 简单模拟认证，用户名为admin，密码为password时认证通过
        return "admin".equals(username) && "password".equals(password);
    }
}